<?php

namespace App\Models;

use App\Admin\Repositories\SwtGood;
use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class SwtProcurement extends Model
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'swt_procurement';

    protected $guarded = [];


    public function goods()
    {
        return $this->hasMany(SwtProcurementGoods::class,'procurement_id','id');
    }

}
